source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/tuya/tuya-pod-specs.git'

#忽略三方类库内部警告
inhibit_all_warnings!
install! 'cocoapods', :disable_input_output_paths => true

target 'MXTuYaSweeperDemo' do
  #use_frameworks!
  use_modular_headers!

  pod 'MBProgressHUD'
  pod 'YYModel'

  pod "ThingSmartCryption", :path =>'./'
  pod "ThingSmartHomeKit"
  pod 'ThingP2pFileTransSDK'
  pod 'ThingSmartSweeperKit', :podspec => 'https://images.tuyacn.com/smart/app/package/developer/sdk/1691043188/ThingSmartSweeperKit.podspec.json'


end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      # 消除文档警告
      config.build_settings['CLANG_WARN_DOCUMENTATION_COMMENTS'] = 'NO'
      # iOS 模拟器去除 arm64
      config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
    end
  end
end
